home *** CD-ROM | disk | FTP | other *** search
/ EnigmA Amiga Run 1996 February / EnigmA AMIGA RUN 04 (1996)(G.R. Edizioni)(IT)[!][issue 1996-02][Skylink CD III].iso / earcd / util4 / bootctrl.lha / BootControl / Includes / BootResource.i < prev    next >
Text File  |  1995-04-20  |  2KB  |  68 lines

  1.  
  2.    STRUCTURE br_BootResource,LIB_SIZE
  3.         ; This is a semaphore protecting against multitasking attacs
  4.         ; of the values below.
  5.         ; You MUST do an ObtainSemaphore() for writing or an
  6.         ; ObtainSemaphoreShared() for reading!!!!
  7.         ; Do an ReleaseSemaphore() after you are done.
  8.         
  9.         STRUCT br_Semaphore,SS_SIZE
  10.  
  11.         ULONG br_Private1
  12.         ULONG br_Private2
  13.         ULONG br_Mode    ; See Mode flags below
  14.         ULONG br_Reserved ; Don't touch! (yet)
  15.         ULONG br_ChipReduce ; Reduce ChipMem (amount in bytes)
  16.         ULONG br_FastReduce ; Reduce FastMem (amount in bytes)
  17.         STRUCT br_BootName,32 ; BootDev, BSTR with NULL termination
  18.         STRUCT br_RemoveNames,256 ; Chain of BSTR, terminated with NULL
  19.         
  20.         ; Bitfield, defining which of the following monitor flags are valid
  21.         UWORD br_MonitorFlags
  22.  
  23.         ; Specs for the embedded DblNTSC.monitor
  24.         UWORD br_HBSTRT
  25.         UWORD br_HBSTOP
  26.         UWORD br_VBSTRT
  27.         UWORD br_VBSTOP
  28.         UWORD br_MINCOL
  29.         UWORD br_MINROW
  30.         UWORD br_TOTROWS
  31.         UWORD br_TOTCLKS
  32.         UWORD br_BEAMCON0
  33.  
  34.       LABEL  br_SIZEOF ; Dont rely on this, size may grow in the future
  35.  
  36. ;    Flag definitions for br_MonitorFlags, undefined bits are reserved!
  37. ;    Bit set means that the corresponding value is valid. 
  38.  
  39.     BITDEF BRM,HBSTRT,0
  40.     BITDEF BRM,HBSTOP,1
  41.     BITDEF BRM,VBSTRT,2
  42.     BITDEF BRM,VBSTOP,3
  43.     BITDEF BRM,MINCOL,4
  44.     BITDEF BRM,MINROW,5
  45.     BITDEF BRM,TOTROWS,6
  46.     BITDEF BRM,TOTCLKS,7
  47.     BITDEF BRM,BEAMCON0,8
  48.  
  49. ; Flags for br_Mode
  50. ; All undefined bits are reserved.
  51.  
  52.     ; GFX modes, DEFAULT = all bits unset
  53.     BITDEF BR,OLD,0
  54.     BITDEF BR,ECS,1
  55.     BITDEF BR,BEST,2
  56.  
  57.     BITDEF BR,PAL,3 ; PAL set (ignored if VGA set)
  58.     BITDEF BR,NOFAST,4 ; NOFASTMEM set
  59.     BITDEF BR,NOCACHE,5 ; CACHE OFF set
  60.     BITDEF BR,FORCECACHE,6 ; FORCECACHE set (ignored if CACHE OFF set)
  61.     BITDEF BR,PATCHALERT,7 ; Patch DisplayAlert()
  62.     BITDEF BR,VGA,8 ; VGA set
  63.     BITDEF BR,VGAONLY,9 ; VGAONLY set
  64.     BITDEF BR,LOADVGA,10 ; Always load VGA monitor
  65.     BITDEF BR,BOOTMENU,11 ; Private use only
  66.  
  67.  
  68.